#import "P1ClientCreator.h"
#import "P1Client.h"

@implementation P1ClientCreator
{
	NSString *IP;
	int port;
}

-(id) initWithIP:(NSString *)ip
         AndPort:(int)port
{
    self = [super init];
	self->IP = ip;
	self->port = port;
    return self;
}

-(id<ILJClient>)newClient
{
	id<ILJClient> rslt = [[P1Client alloc] initWithIP:self->IP AndPort:self->port];
	return rslt;
}
@end